<include file="public@header"/>
</head>
<body>
    <div class="wrap js-check-wrap">
        <table class="table table-hover table-bordered">
            <tr>
                <td>服务器IP地址</td>
                <td>{$_SERVER['SERVER_ADDR']}</td>
            </tr>

            <tr>
                <td>服务器域名</td>
                <td>{$_SERVER['SERVER_NAME']}</td>
            </tr>

            <tr>
                <td>服务器端口</td>
                <td>{$_SERVER['SERVER_PORT']}</td>
            </tr>

            <tr>
                <td>服务器版本</td>
                <td>{:php_uname('s').php_uname('r')}</td>
            </tr>
            <tr>
                <td>服务器操作系统</td>
                <td>{:php_uname()}</td>
            </tr>
            <tr>
                <td>PHP版本</td>
                <td><php>echo PHP_VERSION;</php></td>
            </tr>
            <tr>
                <td>获取PHP安装路径</td>
                <td><php>echo DEFAULT_INCLUDE_PATH;</php></td>
            </tr>
            <tr>
                <td>获取当前文件绝对路径</td>
                <td><php>echo __FILE__;</php></td>
            </tr>
            <tr>
                <td>获取Http请求中Host值</td>
                <td>{$_SERVER["HTTP_HOST"]}</td>
            </tr>
            <tr>
                <td>获取Zend版本</td>
                <td>{:Zend_Version()}</td>
            </tr>
            <tr>
                <td>PHP运行方式</td>
                <td>{:php_sapi_name()}</td>
            </tr>
            <tr>
                <td>服务器当前时间</td>
                <td>{:date("Y-m-d H:i:s")}</td>
            </tr>
            <tr>
                <td>最大上传限制</td>
                <td>{:get_cfg_var ("upload_max_filesize")?get_cfg_var ("upload_max_filesize"):"不允许"}</td>
            </tr>
            <tr>
                <td>最大执行时间</td>
                <td> {:get_cfg_var("max_execution_time")}秒;</td>
            </tr>
            <tr>
                <td>脚本运行占用最大内存</td>
                <td>{:get_cfg_var ("memory_limit")?get_cfg_var("memory_limit"):"无"}</td>
            </tr>


            <tr>
                <td>获取服务器解译引擎</td>
                <td>{:$_SERVER['SERVER_SOFTWARE']}</td>
            </tr>
            <tr>
                <td>获取服务器系统目录</td>
                <td>{$_SERVER['SystemRoot']}</td>
            </tr>
            <tr>
                <td>获取服务器域名（主机名）</td>
                <td>{$_SERVER["HTTP_HOST"]}</td>
            </tr>
            <tr>
                <td>获取服务器语言</td>
                <td>{$_SERVER['HTTP_ACCEPT_LANGUAGE']}</td>
            </tr>
            <tr>
                <td>获取服务器Web端口</td>
                <td>{$_SERVER['SERVER_PORT']}</td>
            </tr>
            <tr>
                <td></td>
                <td></td>
            </tr>

        </table>
    </div>
</body>